package com.textbasedgame.choices;
import java.io.IOException;

import com.textbasedgame.people.Player;


public class Choice13 extends Choice {
	
	
	public Choice13(Player player) {
		this.player = player;
	}

	public void start() {
      
		System.out.println("A woman wearing chainmail and carrying a laoded crossbow");
		System.out.println("Bursts into the torchlight ahead of you. Seeing you");
		System.out.println("She immediately points the bow in your direction. Three men");
		System.out.println("Panting heavily, appear behind her. The first, a tall handsome");
		System.out.println("Man, is dressed in shining silver armour and the blade of his");
		System.out.println("Two-handed sword glows with a faint white radiance.");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		
		System.out.println("The next is dressed in a flowing robe of cloth of gold and wears a");
		System.out.println("Smiling golden mask. He carries and ivory staff. The last");
		System.out.println("Is a thick-set man with a white surcoat over chainmail.");
		System.out.println("A red cross adorns his breast and a spiked mace hangs at his");
		System.out.println("Side. They stop. Once again you hear the wailing, louder than before");
		System.out.println(TERM_ARROW);

		try {
			enter = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		
		System.out.println("They are almost apon us");
		System.out.println("Cries the man with the glittering sword");
		System.out.println("The shieldmaiden calls to you,");
		System.out.println("Who are you and what are you doing here in the Rift, the Spawning place of evil?");
		System.out.println("Will you:");
		System.out.println("1.Say you are from another world?");
		System.out.println("2.Say you are on a quest against evil?");
		System.out.println("3.Try to play for time?");
		System.out.println("4.Attack the Shieldmaiden?");
		
String choice = null;
		
		try {
			choice = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		
		if (choice.equals("1")){
			Choice247 choice247 = new Choice247(player);
			choice247.start();
		}else{
			if (choice.equals("2")){
				Choice60 choice60 = new Choice60 (player);
				choice60.start();
			}else{
				if (choice.equals("3")){
					Choice75 choice75 = new Choice75 (player);
					choice75.start();
				}else{
					if (choice.equals("4")){
						Choice5 choice5 = new Choice5 (player);
						choice5.start();
					}
				}
			}
			
		}
		
	}}
			
				
			
		
	

